home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / macros / tip / itemplan.tip < prev    next >
Text File  |  1993-09-15  |  1KB  |  45 lines

  1. % This macro source file is from the four volume series
  2. % "TeX in Practice" by Stephan von Bechtolsheim, published
  3. % 1993 by Springer-Verlag, New York.
  4. % Copyright 1993 Stephan von Bechtolsheim.
  5. % No warranty or liability is assumed.
  6. % This macro may be copied freely if no fees other than
  7. % media cost or shipping charges are charged and as long
  8. % as this copyright and the following source code itself
  9. % is not changed. Please see the series for further information.
  10. %
  11. % Version: 1.0
  12. % Date: May 1, 1993
  13. %
  14. %
  15. % This source code is documented in 11.4.7, p. II-88.
  16. % Original source in file "par2.TEX", starting line 2011.
  17. \wlog{L: "itemplan.tip" ["par2.TEX," l. 2011, p. II-88]}%
  18. % This file DOES belong to format "texip."
  19. \def\hang{% 
  20.     \hangindent = \parindent
  21. }
  22. \def\item{%
  23.     \par
  24.     \hang
  25.     \textindent
  26. }
  27. \def\itemitem{%
  28.     \par
  29.     \indent
  30.     \hangindent = 2\parindent
  31.     \textindent
  32. }
  33. \def\textindent #1{%
  34.     \indent
  35.     \llap{#1\enspace}%
  36.     \ignorespaces
  37. }
  38. \def\itemitemitem{%
  39.     \par
  40.     \indent
  41.     \indent
  42.     \hangindent = 3\parindent
  43.     \textindent
  44. }
  45.